<template>
  <div class="loading-container" v-loading="loading">
    <!-- <p>{{$t('locale')}}</p>
    <p>{{$t('test')}}</p> -->
  </div>
</template>

<script>
import { defineComponent, ref, onMounted } from 'vue'
// @ is an alias to /src
// import { testGetApi, testPostApi } from "../api/home";
export default defineComponent({
  setup () {
    const loading = ref(false)
    onMounted(() => {
      loading.value = true
      setTimeout(() => {
        loading.value = false
      }, 5000)
    })
    return {
      loading
    }
  }
})
</script>

<style lang="less">
// @import '~@/assets/css/sprite/test.less';
</style>
